#region Copyright (c) Nicola Gallo All rights reserved.
/*
 * All rights reserved. Reproduction of trasmission of this file, or a portion thereof,
 * is forbidden without prior written permission of Nicola Gallo.
 * 
 * Author: Nicola Gallo
 * Date: 09/04/2011
 * 
 * */
#endregion
namespace PrismMVC.Shell.Views
{
    //.NET References
    using System;
    using System.Windows;
    using System.Windows.Controls;

    //PrismMVC References
    using PrismMVC.Shell.PresentationModels;

    /// <summary>
    /// Defines the shell view.
    /// </summary>
    public partial class ShellView : Window
    {
        //Constructors

        /// <summary>
        /// Create a new instnace of <see cref="ShellView"/>.
        /// </summary>
        /// <param name="viewModel">Shell's view model.</param>
        public ShellView(ShellPresentationModel viewModel)
        {
            InitializeComponent();

            // Set the ViewModel as this View's data context.
            this.DataContext = viewModel;
        }
    }
}